package com.guiji.quartz.task;

import cn.wanghaomiao.xpath.exception.NoSuchAxisException;
import cn.wanghaomiao.xpath.exception.NoSuchFunctionException;
import cn.wanghaomiao.xpath.exception.XpathSyntaxErrorException;
import com.guiji.quartz.domain.CCTVTech;
import com.guiji.quartz.domain.DongmanXinwen;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Component;

/**
 * @program: cms-vue-plus
 * @description:
 * @author: gaoX
 * @create: 2021-09-03 10:55
 **/
@Component("dongmanXinwenTask")
public class DongmanXinwenTask {
	private static final Logger log = LoggerFactory.getLogger(DongmanXinwenTask.class);
	public void dongmanXinwenTask() throws NoSuchFunctionException, XpathSyntaxErrorException, NoSuchAxisException {
		Long startTime = System.currentTimeMillis();
		DongmanXinwen dongmanXinwen = new DongmanXinwen();
		try {
			dongmanXinwen.mainMethod();
		} catch (Exception e) {
		}finally {
			log.info("dongmanXinwenTask-end-:{}",System.currentTimeMillis()-startTime);
		}
	}
}
